package com.woniuxy.commons.service;

import com.woniuxy.commons.entity.Email;
import com.woniuxy.commons.utils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 雷珉
 * @date 2022年06月10日 16:09
 */
@FeignClient(name = "aliyunoss")
public interface EmailService {

    @PostMapping("/aliyunoss/email/")
    public ResponseResult send(@RequestBody Email email);
}